#ifndef SEGMENT_H
#define SEGMENT_H

#ifdef _WIN32
    #ifdef SEGEMENT_EXPORTS
        #define SEGEMENT_API __declspec(dllexport)
    #else
        #define SEGEMENT_API __declspec(dllimport)
    #endif
#else
    #define SEGEMENT_API
#endif

class SEGEMENT_API Segment
{
public:
    Segment(double start, double end);
	~Segment();
    double GetLength() const;

private:
    double startpoint;
    double endpoint;
};

#endif // SEGMENT_H
